const state = {
    data:{
        musicUrl:'',
        musicName:'',
        singer:"",
        picUrl:'',
        isLoading:false
    }
}

const mutations = {
    getMusicUrl(state,musicUrl,musicName){
        state.data.musicUrl = musicUrl
        state.data.musicName = musicName
    }
}

export default {
    namespaced: true,
    state,
    mutations
}